<?php
class sfBlogCommentsComponents extends sfComponents
{
  public function executeComm(sfWebRequest $request)
  {
	  
    
      
      $this->blog_comments = Doctrine_Core::getTable('BlogComment')->getCommByArticle($this->articleid);
      if($this->getUser()->isAuthenticated()) {
      $this->form2 = new BlogCommentForm();
      $this->form2->setDefaults(array('article_id' =>$this->articleid, 'user_id' => $this->getUser()->getId()));
  }
  }




}
